package com.xxtx.trade.sysUser.dto;

import com.xxtx.trade.common.util.model.PageInfoDto;

import java.io.Serializable;
import java.util.Date;

public class TradeSysUserDto extends PageInfoDto implements Serializable {

    private String id;

    private String agentName;

    public String getAgentName() {
        return agentName;
    }

    public void setAgentName(String agentName) {
        this.agentName = agentName;
    }

    /**
     * 账号
     */
    private String accountName;

    /**
     * 密码
     */
    private String pwd;

    private Date createTime;

    /**
     * 账号状态：1 启用  2 禁用
     */
    private Integer state;

    /**
     * 昵称
     */
    private String nickName;

    /**
     * 手机号
     */
    private String phone;

    /**
     * 角色的id
     */
    private String roleId;

    private String oldPwd;
    private String newPwd;
    private String newPwdAgain;
    private String roleName;
    private String token;


    private String appId;
    private String mchId;
    private String keySign;
    private String appSecret;

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getMchId() {
        return mchId;
    }

    public void setMchId(String mchId) {
        this.mchId = mchId;
    }

    public String getKeySign() {
        return keySign;
    }

    public void setKeySign(String keySign) {
        this.keySign = keySign;
    }

    public String getAppSecret() {
        return appSecret;
    }

    public void setAppSecret(String appSecret) {
        this.appSecret = appSecret;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    private int smsState;

    public int getSmsState() {
        return smsState;
    }

    public void setSmsState(int smsState) {
        this.smsState = smsState;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getNewPwdAgain() {
        return newPwdAgain;
    }

    public void setNewPwdAgain(String newPwdAgain) {
        this.newPwdAgain = newPwdAgain;
    }

    public String getOldPwd() {
        return oldPwd;
    }

    public void setOldPwd(String oldPwd) {
        this.oldPwd = oldPwd;
    }

    public String getNewPwd() {
        return newPwd;
    }

    public void setNewPwd(String newPwd) {
        this.newPwd = newPwd;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        return "TradeSysUserDto{" +
                "id='" + id + '\'' +
                ", accountName='" + accountName + '\'' +
                ", pwd='" + pwd + '\'' +
                ", createTime=" + createTime +
                ", state=" + state +
                ", nickName='" + nickName + '\'' +
                ", phone='" + phone + '\'' +
                ", roleId='" + roleId + '\'' +
                '}';
    }
}
